package edu.sctu.zhengsenwen.month201506.day20150623.operator;

/**
 * 自加自减标识
 * Created by user15 on 2015/6/23.
 */
public class ArithmeticOperatorDemo {

    public static void main(String[] args) {

        int number = 10;
        number++;
        System.out.println("number++: " + (number));
        number = 10;
        number--;
        System.out.println("number--: " + (number));
        number = 10;
        ++number;
        System.out.println("++number: " + (number));
        number = 10;
        --number;
        System.out.println("--number: " + (number));
    }

}
